package com.qcy.jwtdemo.exception.exceptionCodeEum;


import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@AllArgsConstructor
@NoArgsConstructor
public enum  ExceptionCode {
    USER_NOT_EXIST(1001,"用户不存在"),
    USER_PASSWORD_ERROR(1002,"密码错误"),
    USER_NOT_LOGIN(1003,"用户未登录"),
    USER_NOT_AUTHORIZED(1004,"用户未授权"),
    USER_NOT_PERMISSION(1005,"用户无权限"),
    USER_NOT_EXIST_ROLE(1006,"用户未分配角色"),
    USER_NOT_EXIST_PERMISSION(1007,"用户未分配权限");

    private Integer code;
    private String msg;


}
